While automated hubs in Asia and Europe attract more trade, ports in the US and Canada are mired in inefficiency and recurring labour disputes.